package com.freesky.web.portal.reomte.fallback;

import com.freesky.common.utils.reponse.JSONResponse;
import com.freesky.common.utils.reponse.JSONResponseDiretor;
import com.freesky.web.portal.reomte.HomeRotationChartRemote;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class HomeRotationChartRemoteFallback implements HomeRotationChartRemote {
    @Override
    public JSONResponse portalList() {
        log.error("获取正在使用的轮播图列表服务维护中");
        return JSONResponseDiretor.buildBadServiceJSONResponse("获取正在使用的轮播图列表服务维护中",null);
    }
}
